package com.yuyou.fn.crm.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 
 *
 */
@TableName(value = "crm_user_department")
public class CrmUserDepartment implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<CrmUserDepartment> createExample(){
		return new Example<CrmUserDepartment>(CrmUserDepartment.class);
	}

	/**  */
	@TableId(value = "user_department_id")
	private Long userDepartmentId;

	/**  */
	@TableField(value = "user_id")
	private Long userId;

	/**  */
	@TableField(value = "department_id")
	private Long departmentId;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/**  */
	@TableField(value = "operator_id")
	private Long operatorId;

	/**  */
	@TableField(value = "opeartor_name")
	private String opeartorName;

	public Long getUserDepartmentId() {
		return this.userDepartmentId;
	}

	public void setUserDepartmentId(Long userDepartmentId) {
		this.userDepartmentId = userDepartmentId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getDepartmentId() {
		return this.departmentId;
	}

	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getOperatorId() {
		return this.operatorId;
	}

	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	public String getOpeartorName() {
		return this.opeartorName;
	}

	public void setOpeartorName(String opeartorName) {
		this.opeartorName = opeartorName;
	}

}
